package com.grts.controller;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;

import com.grts.pojo.T_Class;
import com.grts.service.T_ClassServiceI;

@RequestMapping("/T_Class")
@Controller
public class T_ClassController {
	@Resource
	T_ClassServiceI t_ClassServiceI;
	
	@RequestMapping("/queryAll")
	public String queryAll(Model model){
		List<T_Class> t_ClassList=t_ClassServiceI.queryAll();
		model.addAttribute("t_ClassList", t_ClassList);
		return "";
	}
}
